package com.syp.hehe.service;

import com.syp.hehe.domain.vo.FavoriteVo;
import com.syp.hehe.util.paging.Page;
import com.syp.hehe.util.paging.PageOffSet;

public interface FavoriteServiceI {
	
	public void add(FavoriteVo favorite);
	
	public void delete(String username, Long articleId);
	
	public Boolean favoriteByUser(String username, Long articleId);
	
	public FavoriteVo getByUUID(String uuid);
	
	public FavoriteVo getByUnameAndArtid(String username, Long articleId);
	
	public Page<FavoriteVo> getPageList(Long articleId, Long pageNum, Integer pageSize);
	
	public PageOffSet<FavoriteVo> getPageOffSetList(Long articleId, Long referId, Integer pageSize);



}
